package com.ke.forum.forumapi.service;

import com.ke.forum.common.common.Result;
import com.ke.forum.mbg.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 珂
 * @since 2022-05-22
 */
public interface CommentService extends IService<Comment> {

    Result addComment(Comment comment);

    Result listComment(Integer articleId,Integer current);

    Result listReply(Integer commentId,Integer current);

    Result deleteComment(Integer id);
}
